added required field attributes