if statement is unnecesary