add output field to function interface