converted to osgi module