add functionality for multiline titles