added new encoders to pyon.py