some idea of main file. never run/tested