not really sure how to unit test these in intellij...