added get connected objects call and other fixes