first version - karaf works