added initial debugging subsystem