added photo capture example