redefining command \note 

redefining command \warning