distance formula or whatever, probably doesnt work i didnt even test it