remove recursive function from inst_chon