renamed all public api methods