support for registering inout statements