Implementation of favorites with multiple lines.