updated debug output and styles