marked name field required, added new type message