add some local tutorial code