NewRecord should also works with struct pointer