things work in console but not on page load??