ugh! need a test for this!