input documentation
flatten version of fill_line