base with primary key