Added log to existence function.