began work on photo processing loop