merge updated SC implementation