distance check
TEST