added object init and connect