changed to reflect API change