testing in main