instantiates on page load