checkQuantity() method is empty