accept name and use it in logs