Add logging (fix indent again)