Finished getAllApps method