super simple distance calculation