method hash