do not use an undefined path object
add arguments input-type and output-type