remove logger and change static method
update examples