imroved loging