started comparison function