know A from B