refactoring insts
refactoring insts