added alert on page load