added feature to track downloads