upgraded to use new style accessors