Added dpms handling