added more text logging