add more error stuff