Track instances

Close #140