1. Removed global variables
2. Added a print note for bugs list