refactored the appData mock