added in errors