style fix
added advanced example to tutorial