add option to fill @type with a value
add option to fill @type with a value