made a function from some repeated code, continued expanding monitorSetup.