Added better logs.