upgrading to 3.0 standards

in 3.0, the function Field has a properties parameter.