added TPB-failed branch. fixes #198