improve table operations