Changed model of Photo