get rid of custom exceptions.