can use main to start