main file for real