should have been in the unit tests