adding stars to the required fields in add class