need to be public to be available in tests
setting up unit tests