accept python string as a valid argument for [B and [C