updating the example to inlcude the correct number of appropriate parameters