Modified code to allow multicomp bc's