remove redundancy
add highlighting to mode4