handler for parametrized and array data