-add begining of barbot code