adding tensor/storage completion using metatables