the flats work in exactly the opposite way. instead of going up to the fifth note (e.g. c,d,e,f,g) we can go down a fifth (c,b,a,g,f). f is the scale which has one flat. as we get flatter and flatter we go counter-clockwise round the circle until all seven notes are flattened.