updated app to use single get function. now working with caching.