changed order of priorities