Remove of "const" is not necessary. Use your own variable within the else-if block.