before work with form