Removed old implementation of getting data dynamically