chain properly
invert simple unless clauses
to_a => toArray