Code from the Head first Java programming book