Changed the 'exists' check the name