Added initial render function