worked on date time stdev and rearrangment