can now fail build, added some logging