changed constraint to cell