skeleton for api methods