add hash algorithm