fix bug!!!! instantiate