adding ranged custom fields and logic to templates