Just before get data