handle sequences within a single image