untested logic