Removed unnecessary else block