added the photo model