some optimizations, addition of 2883hashKey