added List hash function