Changes inventory logic