complated in/out-pack name's refactoring