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