adding encryption
removed debugging