for loop for dpms settings