Updating core class and need to fix seg failut in reinit()