if statement bounds attempt