easier to test this way