simplified core setup/writing warriors to core