add support for CBC