multiflags function form takes multiple args
use new function form to clean up nl