Added more console logs... still no redefining variables before they're accessed