some work for the form