Put -l into its own function