finished up the example