whoops, i made a mistake in the other post- its not that char ans generates an error, its just that it doesnt work in the loop. its supposed to quit when ans doesnt equal y, but even when i specifically type in 'n' the loop doesnt stop.