better hash written