adding a few params for inserting records into the db without overwriting the same one over and over again