Highlighted error in the main class file