changing order of priority in fill()