removed 2 unnecessary calls to isFull