added system("pause") for windows users