improve example setup to allow for multiple examples