better checking on teh result of a build