random hash generator added