brought example in line with master branch