FIX: else should be elseif