working on renderer
fix: render() function
impl.: render() basic implementation