#74: replaced occurences of missing function "exists"