implemented branching based on student choice on MC step