skeleton for task API