Change mdl_new()  return value from status to pointer