emulator -- debugging fun

attempt to debug runtime issues