Had an error in a conditional statement