implemented functionality for form options