code highlighting and setting menu options