#5 simplify convertion in comparisions operator