necessary changes in main