methods and hashes