add init-loss to function ordering