butchering this thing to get virtuoso to work
i totally cheated around the nil identifier but all tests pass