added fiels to code samples