finished exists method.