implemented scaffolding for the texts