first working version complete.