some fields added and validation for required fields