optimize tutorial flow