recreate structure for create array of hours
solved #3