Why -l option added here and not in the function above?