changes to time conversons
speedup by passing nd dicts instead of the massive array block