checking retrieve data