main file fixed