some small comments and log statements