add capacity(int, int)