add a simple task
fix typo and wrong calling of functions
Refactor hard-coded URLs out of templates
add errors if items is empty