maybe done with load_icode