added print to hash type