added nanobots functions