Removed unused case from switch