made photoOutput public