first attempt at modification code for cbs plugin