added template for field.cc