attach element to cell