changed digitize -> digitize2