renamed old_castle_pos and new_castle_pos to extra_old_pos and extra_new_pos