Removed unnecessary IF