Java 7
Inserted print messages