Modifyed templaye memory. Needs to be variables really.