read the main