manage missing input(interface) data
flatten out nested functions