first working minimal version.