debugging stuff for laggy view()