test procedure in main