Added clear table function