hash for lists