Added clear, updated err.