implements clique bootstrapping

needs testing