updating to work with multiple robots