added classes
handled default-value field in the form