add method to take pictures