added required attribute