[issue #353] [WIP] finishes the warnings part