added sample in cmd directory