tweaked working; added privacyleaking method for some methods