Added renderer
Added render function