added fill mode.