fixes #2, returning the records created along with the results