working with own form class