added manifest, connection logic