added support for multiple robots