Declare of main function