Clock Select Algorithm