Adds list template and part of the corresponding logic