check if entries exist