added bit of code which ensures _id will be at front of rows