to_a method