setting up if statement