Made create_text and create_title; more generic