add explicit  NULL in default case, cannot rely on zero'd array