First working version at a basic level.