adding buttons to index and tracking data