add clear track function