added support for subtitles