Added exception handling for decrement