Hash method added