added mostly to html formatting for time period data