get field func. prototype