adding external parameters to static ci methd