Adding the main