add members to method code code example Example: add members to method code add members to method code