document image stage 1