Dynamically fetching data from DB.