add unique and required