images can be rendered, refactored parameter decode