modified input to be nicer