do things in main