minor changes to photograph class