Beginning of some tracking code for binscorner