Correct place where instance is assigned