Added to_a method
Updated specs