add stat task