brought example in line with general code style