made the template more complex