add hash_it method
refactor