working on cleaning up view loading system