removed unnecessary logs and publicInAccount fields