added get data call to set time