added debug panel