rename time to deviceTime, bring closer to data-model