style edits and using $log