moved time out to get data