Robotic Expansion code.