added multi-title support