block level callback function for complete trial

- implements idea from #36
- requires testing