converted mod list to template, not function