brain’s cheat code for happy endings