Fixing the 'add' method