Document and change variable name in MarketController.java for clarity