fire prototype

some debugging functionality is also in.