Example usage of bandit