first working code base