How many ways can 4 different boys and 4 different girls be arranged in a line if

a) girls and boys alternate

My logic is:

arrange boys first, there are 4! ways of arrangement

There are then 5P4 ways of arranging girls, consider one may be before a boy or after a boy

So this is not the right answer. But where is the flaw in my logic. Where did i over count?