implementation of child-spaced-repetition with node