add time since function to work