use for-loop to add robots