main for the project