adding a privacy view
refactoring