removed const from first parameter for phase init data function as some init functions