added compatibility with the in and out operators