Removing unnecessary else