adding chain review functionality, partly working, needs more testing