figure out this photo function