added testing routine; improved highlighting-frame