Removed unneccesary if statement