adapt template to current possibilities