`.map {|x| x}` could be replaces with `.to_a`