People takes photo in function