Added an Exists function