added thousand notes. program with the bug