java code for my privacy protect experiment