preparing for loading data dynamically from api