Added simple algorithm to create data for single day.