Testing new replay function