commented out console logs to ensure IE compatibility