You should be calling the constructor in the same place you do the instantiation.