Removed unnecessary else condition