forgot to close the if