add api methods