wrote such code, although it needs testing