validate and build