added _in and _out properties to Record