More setting output parameters to NULL initially