Scribble decoder