return this in api methods