updated to last example & fixed code formatting..

so that Scrutinizer doesn't cry tears any more^^