added monitors, but crashes code if text of monitor is changed