legend addition for form