distance stuff not working