changed in/out convention