adding the virtual intelligence running code