FIX: amount of template