active display: adjusting code