made outgoing functions work with all types of lists, exporting more functions