Refactored variable inUsed to inUse