latest commit
removed unused globals