Code for non-working list template