added class for taking pictures