added paint debugger