add dictinary to function render