refactor sellobj