initial person tracking code