added photo helper