New public functions: setData and showOverlay