Removed all the template writing. Almost a rough draft - just need Chris' part