1.re-order methods 2.use logger