added get field method