working on setting the primary key