style updates, added :debug and :reset