adding working main file