debug highlight functionality