improved PhotographAction example