change member to method in new API method