ignorance is bliss
various changes to make it work on the emulator