Sketching prerendering code
prerender method