removed list compare function