adding holes filler function, still need to debug