default values and required fields functionality implemented