Kinda helpfull to have this code if used for tutorial.