need to end the if