Making placeholder cell calculate distance and be more clever