added max size to cell