added color function, time, date