Now we can handle [in,out] properly.