changed photo stuff