added logger and some not ready doings