Refactored interpretAddCommand