Pass module as an argument