add builtin frame control