table clearing works