ensure the first example in the readme is complete and includes all necessary require calls