please move that to a unit test