function field patch