deleted some stuff from ham.py