added completed sequences support