moved monitor to update function, doesn't render on page load, added clean function