added pixel port pref feature