added tutorial code as a skeleton