change void main to int main