update clearBoth
update gidd