header comment on stem.py