Added form element to functions