Sets up adding moments on the backend