arel cond refactor