added loging messages
added loging messages