Added comments and a potential fix.