- removed a system.out
- added logging