Refactoring of tutorials for better understanding