+ new way to retrieve integers from templates (bstr, pref...)