need to check for when data is nil. It's possible that this point won't have values for all columns. If that's the case, it should only have the fields defined that aren't null