add methods to clear/fill table; improve example