photo manager first version works