match display and fill functions