set up first if statement