addet commentars for bandit implementation