update so that it can be tested