add text and logging