Added exists() method