some syntax/naming convention changes
add some comments // default case for time limit switch statement