updated emosample to return connection strength
added logger and probably done