hash as property of method