cleaned up text formatting demo