starting java example of adding tags