finalized distance testing