add functions to declare required fields