Finished first working version