Wip/p tutorial

Fix code below