Added use of warnings