Added render method