added support for multiple titles