Learning how render() happens