Fixed instantiate by reference