changed from cfb-algo to cfb-type so no multiple definitions