CHanged basic code and tested on bot