this might barf it `null` is returned? maybe add a test for it