worked on id and _id assignment to enure cositency