adding encryption option