get_in_out first draft