added required marker for required fields