removed unnecessary else