readded encode5.py just in case