DEBUG compiles with few warnings but it's ok