more work on variant workflow detection