Added the function render