Object tracking implemented, to be debugged