fields have to be set using the function name as prefix (issue #77)