sample.py for guidelines