trying to integrate statistics endpoint and timeline