revised form helper