throw away deadend approach but some keepers