added some robotic code to make continuous connections