added photo capture