Added new render() method