render() method added