Making logging less verbose, also added some comments