added some note about bfs