Adding logging, renamed def exists?