Syntax error on line 14: Syntax Error in Expression.
    switch (BCR_state) {
