remove that stupid blocking getchar()...