Added kypass, Added error messages