removed the if stmt