Edited gsiBot to use Handong's code