define errors for storage per #3