reinit for testing