access class of form