added hasher prototype