adding some error stuff