then you could get rid of the first if