added primary key to samples