using std logging adn added by function