Add CheckIfExists Function