now the exists check actually works