Code for Tracking rents