now more generic for multiple robots