change the format of the 'data' to something that nm is used to