encapsulated len diff funtuinality into compare