logplot added