added working with forms