Removed unnecessary if statement