bandit class created