hash defines function