added photo framework