Documented inserted code for scribble mode