remove logger
use instance variable