rm not needed if statement