add main programme