Removed 2 x getchar()