1. Create visible error (e.g., a pop up window) when caching functions encounter an error 2. Abstract saveToDB() and add() to individual function that has variable arguments