add to_a method