adding second part of encryption