Added bcpCI() function