implemented primary key, disabled and required