use array for dpms