use custom_fragments instead of 'template'