Initial version, taken from tutorial, doesn't do very much.