rebuild for testing