added RedBot example code