adding time formatting