Wrote first part of kinect