added support for  comparitor