Removed getchar()