Added warn logging