changes signs to thecore