my bad if statement