proper main file