started comparison functions