added runtime method to trigger redraw