more sophisticated sample template (to be continued)