track functionality implemented