completed a very basic example