use to_h (2.1 method!!)