adding enc type