REV: use CtrlP to handle buffer