hash is fully working now