added FieldPoly which allows to create polymorphic functions over FieldType without boilerplate