setting primary key