Use logger
Remove needless method