added log d
added shared reference to remember name.