Added pool.java to use logger