moving conv() to use sequences instead of lists