Was working on A* but fuck it...