Added possibility to choose which time will be used as data.