added capturing pictures and video feature