separrate build and check