Added Clock back to the program and also replaced the type-casting
for the scoreboard .