Tried adding logging stuffs.