added sample_code [first push failed]