Syntax error on line 21: Syntax Error in Expression.
    switch (current_state) {
