use primary key on model init