BTW we should totally have test cases...