Nasser and Robbie: Refactored the InventoryMonitor.java file.