builds with some warnings