add params and time ago function