add opt form and actions