Do we need the added function call to `displayError`? There are cases elsewhere where you don't even call this function or `displayError` and are just directly setting `error.text("")`