added a fake distance function for movement planning