added tutorial p3, small improvements to p2.