changed struct reference to hash
2.0.1