updated favorite code path