experiment with in/out flags