added .to_a method at line13