added notes and fixed small logfile error