added read-del at start for gui