final version of the main project