remove redunant functionality for object comparision