more broken code for tommaso