build and checks