adds functioning gingerice hash method