refactored for last use case : agediff in days