toilet paper dispenser

me and my friends made this as a school project - it folds and cuts toilet paper for you - in this video the first trial goes smoothly, while the second one has a bit of trouble.