photo and more sc example code