text and cleanup