Trying to implement funcTracker