example with frame based controllers