modify mathbot