using local data. Loading dynamically