add support for fanout