revert to using warnings