Correct order of initialization