Allows to pass a list as an argument