added support for rehearsal marks