added ability to take photos with camera