hash get functionality done