Added loging to header