Encryption Check added