another comparison functon added