added kinect input and recording