modify for kinect