nicer syntax available so I updated the examples