Added describing comments and removed system.out.println