add support for inout signals