putting it all back after messing with distance