compare titles, kinda working but buggy