passing to comparable