added custom times helper