code for comparison...