Pencil mode working