demo for api hook, vs project, old code, sort save