Removed the unnecessary if statement