Recompiled spejd.cpp