sum hash fun