replay functionality in viewBuilder